<?php

/*文件上传配置参数*/
return [
    /*文档上传*/
    'file'=>[
        'fileExt'=>'txt,doc,zip',
        'fileSize'=>'10485760',
    ],
    /*图片上传*/
    'pic'=>[
        'fileExt'=>'jpg,jpeg,png,gif',
        'fileSize'=>'0',
        'compress'=>true,
    ],
    /*图片上传*/
    'banner'=>[
        'fileExt'=>'jpg,jpeg,png,gif,bmp',
        'fileSize'=>'10485760',
        'compress'=>true,
    ],
    /*客户附件*/
    'customer'=>[
        'fileExt'=>'doc,docx,xls,xlsx,pdf,ppt,pptx,txt,zip,rar,7z,jpg,jpeg,png,gif',
        'fileSize'=>'10485760',
        'compress'=>true,
    ],
    /*sku图片上传*/
    'sku'=>[
        'fileExt'=>'jpg,jpeg,png,gif',
        'fileSize'=>'10485760',
        'compress'=>true,
    ],
    /*sku附件*/
    'sku_file'=>[
        'fileExt'=>'doc,docx,xls,xlsx,pdf,ppt,pptx,txt,zip,rar,7z,jpg,jpeg,png,gif',
        'fileSize'=>'10485760',
        'compress'=>true,
    ],
    /*xls文件上传*/
    'excel'=>[
        'fileExt'=>'xls,xlsx,csv',
        'fileSize'=>'10485760',
    ],
    /*bom工单附件*/
    'bom'=>[
        'fileExt'=>'doc,docx,xls,xlsx,pdf,ppt,pptx,txt,zip,rar,7z,jpg,jpeg,png,gif',
        'fileSize'=>'10485760',
        'compress'=>true,
    ],
    /*废料工单附件*/
    'order'=>[
        'fileExt'=>'doc,docx,xls,xlsx,pdf,ppt,pptx,txt,zip,rar,7z,jpg,jpeg,png,gif',
        'fileSize'=>'10485760',
        'compress'=>true,
    ],
    /*产品工单*/
    'orderProduct'=>[
        'fileExt'=>'doc,docx,xls,xlsx,pdf,ppt,pptx,txt,zip,rar,7z,jpg,jpeg,png,gif',
        'fileSize'=>'10485760',
        'compress'=>true,
    ],

];
